import axios from "axios";

export function loginApi(data) {
  return axios.post("/system/admin/login", data);
}

export function logoutApi() {
  return axios.post("/logout");
}

export function userInfoApi() {
  return axios.get("/getInfo");
}
